OpenChannelListFragment

open class OpenChannelListFragment : BaseModuleFragment<MT, VM>

Fragment displaying the list of open channels. since 3.2.0

Types

Link copied to clipboard
open class Builder

Functions

Link copied to clipboard
protected open fun onBeforeReady(    @NonNull status: ReadyStatus,     @NonNull module: OpenChannelListModule,     @NonNull viewModel: OpenChannelListViewModel)
After authenticate ()} is finished, onReady will be called with the result of authentication and all preparations will be ready to use.
Link copied to clipboard
protected open fun onBindHeaderComponent(@NonNull headerComponent: HeaderComponent, @NonNull viewModel: OpenChannelListViewModel)
Called to bind events to the HeaderComponent.
Link copied to clipboard
protected open fun onBindOpenChannelListComponent(@NonNull openChannelListComponent: OpenChannelListComponent, @NonNull viewModel: OpenChannelListViewModel)
Called to bind events to the OpenChannelListComponent.
Link copied to clipboard
protected open fun onBindStatusComponent(@NonNull statusComponent: StatusComponent, @NonNull viewModel: OpenChannelListViewModel)
Called to bind events to the StatusComponent.
Link copied to clipboard
protected open fun onConfigureParams(@NonNull module: OpenChannelListModule, @NonNull args: Bundle)
Called to initialize the module's params or components' params.
Link copied to clipboard
protected open fun onCreateModule(@NonNull args: Bundle): OpenChannelListModule
Called to do initial creation of a module.
Link copied to clipboard
protected open fun onCreateViewModel(): OpenChannelListViewModel
Called to do initial creation of a view model.
Link copied to clipboard
protected open fun onItemClicked(    @NonNull view: View,     position: Int,     @NonNull channel: OpenChannel)
Called when the item of the channel list is clicked.
Link copied to clipboard
protected open fun onItemLongClicked(    @NonNull view: View,     position: Int,     @NonNull channel: OpenChannel)
Called when the item of the channel list is long-clicked.
Link copied to clipboard
protected open fun onReady(    @NonNull status: ReadyStatus,     @NonNull module: OpenChannelListModule,     @NonNull viewModel: OpenChannelListViewModel)
Called to start the operation of the fragment after authentication and module setup.
Link copied to clipboard
protected open fun onRefresh()
Refresh the open channel list.
Link copied to clipboard
open fun onViewCreated(@NonNull view: View, @Nullable savedInstanceState: Bundle)

Properties

Link copied to clipboard
protected open var params: OpenChannelListQueryParams